//入库单汇总数据
export type InboundInvoiceItem = {
    id?: number,//id
    supplier_id: number,//供货商id
    supplier_name?: string,//供货商名称
    total: number,//发票金额(元)
    tax: number,//税率(%)
    date: number,//开票日期
    created_at?: number,//已开票金额
    updated_at?: number,//已开票税额
}

//入库单汇总数据
export type InboundInvoiceSummary = {
    supplier_id: number,//供货商id
    supplier_name: string,//供货商名称
    total: number,//发票总金额
    total_tax: number,//发票总税额
    available: number,//可用发票金额
    available_tax: number,//可用税额
    used: number,//已开票金额
    used_tax: number,//已开票税额
}


export type InboundInvoiceListRequest = {
    page:number,
    size:number,
    supplier_id?: number,//
}

export type InboundInvoiceSummaryListRequest = {
    page:number,
    size:number,
    supplier_name?: string,//
}

export type InboundInvoiceRequest = {
    id: number,
}